package org.william.security.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class RouteController {

    @GetMapping("")
    public String index(){
        return "index";
    }

    @GetMapping("/toLogin")
    public String login(){
        return "login";
    }

    @GetMapping("/level1")
    public String level1(){
        return "level1";
    }

    @GetMapping("/level2")
    public String level2(){
        return "level2";
    }
}
